home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / lib / xulrunner-1.9.0.14 / res / ua.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2008-12-18  |  6.3 KB  |  248 lines

  1. /* ***** BEGIN LICENSE BLOCK *****
  2.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  3.  *
  4.  * The contents of this file are subject to the Mozilla Public License Version
  5.  * 1.1 (the "License"); you may not use this file except in compliance with
  6.  * the License. You may obtain a copy of the License at
  7.  * http://www.mozilla.org/MPL/
  8.  *
  9.  * Software distributed under the License is distributed on an "AS IS" basis,
  10.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11.  * for the specific language governing rights and limitations under the
  12.  * License.
  13.  *
  14.  * The Original Code is mozilla.org code.
  15.  *
  16.  * The Initial Developer of the Original Code is
  17.  * Netscape Communications Corporation.
  18.  * Portions created by the Initial Developer are Copyright (C) 1998
  19.  * the Initial Developer. All Rights Reserved.
  20.  *
  21.  * Contributor(s):
  22.  *
  23.  * Alternatively, the contents of this file may be used under the terms of
  24.  * either of the GNU General Public License Version 2 or later (the "GPL"),
  25.  * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  26.  * in which case the provisions of the GPL or the LGPL are applicable instead
  27.  * of those above. If you wish to allow use of your version of this file only
  28.  * under the terms of either the GPL or the LGPL, and not to allow others to
  29.  * use your version of this file under the terms of the MPL, indicate your
  30.  * decision by deleting the provisions above and replace them with the notice
  31.  * and other provisions required by the GPL or the LGPL. If you do not delete
  32.  * the provisions above, a recipient may use your version of this file under
  33.  * the terms of any one of the MPL, the GPL or the LGPL.
  34.  *
  35.  * ***** END LICENSE BLOCK ***** */
  36.  
  37. @import url(resource://gre/res/html.css);
  38. @import url(chrome://global/content/xul.css);
  39. @import url(resource://gre/res/quirk.css);
  40.  
  41. @namespace parsererror url(http://www.mozilla.org/newlayout/xml/parsererror.xml);
  42.  
  43. /* defaults for the root element that are easier to specify here than in
  44.    C++ code */
  45. *|*:root {
  46.   quotes: "\201C" "\201D" "\2018" "\2019";
  47. }
  48.  
  49. /* magic -- some of these rules are important to keep pages from overriding
  50.             them
  51. */
  52.  
  53. /* Tables */
  54.  
  55. *|*::-moz-table {
  56.   display: table !important;
  57.   -moz-box-sizing: border-box; /* XXX do we really want this? */
  58. }
  59.  
  60. *|*::-moz-inline-table {
  61.   display: inline-table !important;
  62.   -moz-box-sizing: border-box; /* XXX do we really want this? */
  63. }
  64.  
  65. *|*::-moz-table-outer {
  66.   display: inherit !important; /* table or inline-table */
  67.   margin: 0 ! important;
  68.   padding: 0 ! important;
  69.   border: none ! important;
  70.   float: inherit;
  71.   clear: inherit;
  72.   position: inherit;
  73.   top: inherit;
  74.   right: inherit;
  75.   bottom: inherit;
  76.   left: inherit;
  77.   z-index: inherit;
  78.   page-break-before: inherit;
  79.   page-break-after: inherit;
  80.   vertical-align: inherit; /* needed for inline-table */
  81.   line-height: inherit; /* needed for vertical-align on inline-table */
  82. }
  83.  
  84. *|*::-moz-table-row {
  85.   display: table-row !important;
  86. }
  87.  
  88. /* The ::-moz-table-column pseudo-element is for extra columns at the end 
  89.    of a table. */
  90. *|*::-moz-table-column {
  91.   display: table-column !important;
  92. }
  93.  
  94. *|*::-moz-table-column-group {
  95.   display: table-column-group !important;
  96. }
  97.  
  98. *|*::-moz-table-row-group {
  99.   display: table-row-group !important;
  100. }
  101.  
  102. *|*::-moz-table-cell {
  103.   display: table-cell !important;
  104.   white-space: inherit;
  105. }
  106.  
  107. /* Lists */
  108.  
  109. *|*::-moz-list-bullet, *|*::-moz-list-number {
  110.   display: inline;
  111.   vertical-align: baseline;
  112.   -moz-margin-end: 8px;
  113. }
  114.  
  115. /* Links */
  116.  
  117. *|*:-moz-any-link {
  118.   cursor: pointer;
  119. }
  120.  
  121. *|*:-moz-any-link:focus {
  122.   /* Don't specify the outline-color, we should always use initial value. */
  123.   outline: 1px dotted;
  124. }
  125.  
  126. /* Miscellaneous */
  127.  
  128. *|*::-moz-anonymous-block, *|*::-moz-cell-content {
  129.   display: block !important;
  130.   position: static !important;
  131. }
  132.  
  133. *|*::-moz-anonymous-block, *|*::-moz-anonymous-positioned-block {
  134.   -moz-box-ordinal-group: inherit !important;
  135. }
  136.  
  137. *|*::-moz-xul-anonymous-block {
  138.   display: block ! important;
  139.   position: static ! important;
  140.   float: none ! important;
  141.   -moz-box-ordinal-group: inherit !important;
  142. }
  143.  
  144. *|*::-moz-scrolled-content, *|*::-moz-scrolled-canvas,
  145. *|*::-moz-scrolled-page-sequence {
  146.   /* e.g., text inputs, select boxes */
  147.   padding: inherit;
  148.   display: inherit;
  149.   -moz-box-orient: inherit;
  150.   /* make unicode-bidi inherit, otherwise it has no effect on text inputs and
  151.      blocks with overflow: scroll; */
  152.   unicode-bidi: inherit;
  153.   -moz-column-count: inherit;
  154.   -moz-column-width: inherit;
  155.   -moz-column-gap: inherit;
  156.   /* Do not change these. nsCSSFrameConstructor depends on them to create a good
  157.      frame tree. */
  158.   position: static !important;
  159.   float: none !important;
  160. }
  161.  
  162. *|*::-moz-viewport, *|*::-moz-viewport-scroll, *|*::-moz-canvas, *|*::-moz-scrolled-canvas {
  163.   display: block !important;
  164.   background-color: inherit;
  165. }
  166.  
  167. *|*::-moz-viewport-scroll {
  168.   overflow: auto;
  169. }
  170.  
  171. *|*::-moz-column-content { 
  172.   /* the column boxes inside a column-flowed block */
  173.   /* make unicode-bidi inherit, otherwise it has no effect on column boxes */
  174.   unicode-bidi: inherit;
  175.   /* inherit the outer frame's display, otherwise we turn into an inline */
  176.   display: inherit !important;
  177.   /* Carry through our parent's height so that %-height children get
  178.   their heights set */
  179.   height: 100%;
  180. }
  181.  
  182. *|*::-moz-page, *|*::-moz-page-sequence, *|*::-moz-scrolled-page-sequence {
  183.   display: block !important;
  184.   background: transparent;
  185. }
  186.  
  187. *|*::-moz-pagecontent {
  188.   display: block !important;
  189. }
  190.  
  191. *|*::-moz-pagebreak {
  192.   display: block !important;
  193. }
  194.  
  195. *|*::-moz-anonymous-positioned-block {
  196.   display: block !important;
  197.   position: relative;
  198.   top: inherit; 
  199.   left: inherit;
  200.   bottom: inherit;
  201.   right: inherit;
  202.   z-index: inherit;
  203.   clip: inherit;
  204.   opacity: inherit;
  205. }
  206.  
  207. /* Printing */
  208.  
  209. @media print {
  210.  
  211.   * {
  212.     cursor: default !important;
  213.   }
  214.  
  215.   *|*::-moz-viewport, *|*::-moz-viewport-scroll, *|*::-moz-canvas,
  216.   *|*::-moz-scrolled-canvas {
  217.     background-color: #737373 !important;
  218.   }
  219.  
  220. }
  221.  
  222. /* XML parse error reporting */
  223.  
  224. parsererror|parsererror {
  225.   display: block;
  226.   font-family: sans-serif;
  227.   font-weight: bold;
  228.   white-space: pre;
  229.   margin: 1em;
  230.   padding: 1em;
  231.   border-width: thin;
  232.   border-style: inset;
  233.   border-color: red;
  234.   font-size: 14pt;
  235.   background-color: lightyellow;
  236. }
  237.  
  238. parsererror|sourcetext {
  239.   display: block;
  240.   white-space: pre;
  241.   font-family: -moz-fixed;
  242.   margin-top: 2em;
  243.   margin-bottom: 1em;
  244.   color: red;
  245.   font-weight: bold;
  246.   font-size: 12pt;
  247. }
  248.